#ifndef MAP_H
#define MAP_H

class Map
{
public:
	Map();
	Map(char *fileName);
	Map(Map &m);
	~Map();
	inline int **GetTable(){return m_table;}
	inline unsigned int GetColumns(){return m_col;}
	inline unsigned int GetLines(){return m_lin;}
	inline int GetElement(unsigned int i, unsigned int j)
	{
		if(j < m_col && i < m_lin)
			return m_table[i][j];
		else
			return 0;
	}
private:
	int **m_table;
	unsigned int m_lin;
	unsigned int m_col;
};

#endif
